Threshold-based Training